package com.atguigu.dao;

import com.atguigu.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {
    Order getOrder(Order order);

    void add(Order newOrder);

    Map findById(Integer id);

    List<Map> getSetmealOrderInfo();

    int getTodayOrderNumber(String today);



    int getThisWeekAndMonthOrderNumber(Map<String, Object> paramWeek);

    int getTodayVisitsNumber(String today);

    int getThisWeekAndMonthVisitsNumber(Map<String, Object> paramWeekVisit);

    List<Map<String,Object>> findHotSetmeal();
}
